#include "windowshowmanage.h"

WindowShowManage::WindowShowManage()
{
    viewManage =new QTabWidget;
    viewManage->showMaximized();
}

void WindowShowManage::addWindow(QWidget *widgetIn, QString titileIn)
{
    viewManage->addTab(widgetIn,titileIn);
    viewManage->setCurrentWidget(widgetIn);
}

void WindowShowManage::activeTab(int tabIndex)
{
    viewManage->setCurrentIndex(tabIndex);
}
